package com.qf.service;

import com.qf.pojo.DtsCategory;
import com.qf.vo.CatVo;

import java.util.List;
import java.util.Map;

public interface DtsCategoryService {

    List<CatVo> findCategoryList();

    DtsCategory findById(Integer categoryId);

    Map<String, Object> findByPage(Integer page, Integer limit, String sort, String order, Integer id, String name);

    void insert(DtsCategory category);

    void delete(DtsCategory category);

    void update(DtsCategory category);
}
